package idp

import (
	"hcy-api/lib/utils"
	"hcy-api/structs/base"
)

type AddTaskDto struct {
	Name      string                 `json:"name"`
	TaskType  int8                   `json:"taskType"`
	StartTime int64                  `json:"startTime,string"`
	EndTime   int64                  `json:"endTime,string"`
	TaskRank  int8                   `json:"taskRank"`
	MapIds    utils.StringArrayInt64 `json:"mapIds"`
	Details   string                 `json:"details"`
	Status    int8                   `json:"status"`
}

type SearchTaskDto struct {
	Name string `form:"name"`
	base.Page
}

// CountTaskResult 统计任务结果
type CountTaskResult struct {
	CoverNum  int64 `json:"coverNum"`
	ReportNum int64 `json:"reportNum"`
	OkNum     int64 `json:"okNum"`
}
